-
as seen on Stack Overflow
- Search for 'Stack Overflow'
int price=' '; // attempt to grab a decimal number - but not the correct way
int itemnum=' '; // attempt to grab a whole number - but not the right way
while((price== (price*1.00)) && (itemnum == (itemnum*1)))
What is a way to get numbers in 2 diff columns where one column is whole numbers…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Please help me to understand why the following code will not compile:
#include <stdio.h>
//#include <iostream>
//using namespace std;
int main(void){
int i,k,x,y,run,e,r,s,m,count=0;
char numbers[19][19];
for(i=0;i<19;i++){
for (k=0;k<19;k++){
numbers[i][k]='…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I need to match phone numbers that :
start with 010 or 012 or 016 or 019
Consist of 10 numbers exactly
can you please help me on how to match numbers using PHP and regex
thanks
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
In javascript how to convert sequence of numbers in an array to range of numbers?
eg. [2,3,4,5,10,18,19,20] to [2-5,10,18-20]
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I am learning programming using pthreads.
How can I write a program to print odd numbers and even numbers on separate threads.
>>> More